package com.ditian.model;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 情绪识别结果
 * @author chenweiyi
 *
 */
public class Emotion {
	/**
	 * 愤怒
	 */
	@JSONField(name="anger")
	private double anger;
	/**
	 * 厌恶
	 */
	@JSONField(name="disgust")
	private double disgust;
	
	/**
	 * 恐惧
	 */
	@JSONField(name="fear")
	private double fear;
	
	/**
	 * 高兴
	 */
	@JSONField(name="happiness")
	private double happiness;
	
	/**
	 * 平静
	 */
	@JSONField(name="neutral")
	private double neutral;
	
	/**
	 * 伤心
	 */
	@JSONField(name="sadness")
	private double sadness;
	
	/**
	 * 惊讶
	 */
	@JSONField(name="surprise")
	private double surprise;

	public double getAnger() {
		return anger;
	}

	public void setAnger(double anger) {
		this.anger = anger;
	}

	public double getDisgust() {
		return disgust;
	}

	public void setDisgust(double disgust) {
		this.disgust = disgust;
	}

	public double getFear() {
		return fear;
	}

	public void setFear(double fear) {
		this.fear = fear;
	}

	public double getHappiness() {
		return happiness;
	}

	public void setHappiness(double happiness) {
		this.happiness = happiness;
	}

	public double getNeutral() {
		return neutral;
	}

	public void setNeutral(double neutral) {
		this.neutral = neutral;
	}

	public double getSadness() {
		return sadness;
	}

	public void setSadness(double sadness) {
		this.sadness = sadness;
	}

	public double getSurprise() {
		return surprise;
	}

	public void setSurprise(double surprise) {
		this.surprise = surprise;
	}

	@Override
	public String toString() {
		return "Emotion [anger=" + anger + ", disgust=" + disgust + ", fear="
				+ fear + ", happiness=" + happiness + ", neutral=" + neutral
				+ ", sadness=" + sadness + ", surprise=" + surprise + "]";
	}
	
	
}
